package com.hex.ds.hdtp.core.inf.data.contrast.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Package: com.hex.ds.hdtp.core.inf.data.contrast.po
 * @ClassName CrossDbContrastListPo
 * @Description: 跨库对比清单-PO对象
 * @Author: wz.li
 * @Date 2023/7/24 16:17
 * @Version v2.0.2
 **/
@Data
@TableName(value = "tm_cross_db_contrast_list")
public class CrossDbContrastListPo implements Serializable {

    @TableId(value = "pk_id", type = IdType.ASSIGN_UUID)
    private String pkId;

    @TableField(value = "task_pk_id")
    private String taskPkId;

    @TableField(value = "source_db_name")
    private String sourceDbName;

    @TableField(value = "source_table_name")
    private String sourceTableName;

    @TableField(value = "contrast_db_name")
    private String contrastDbName;

    @TableField(value = "contrast_table_name")
    private String contrastTableName;

    @TableField(value = "remove_repeat_count_field")
    private String removeRepeatCountField;

    @TableField(value = "group_count_field")
    private String groupCountField;

    @TableField(value = "count_field")
    private String countField;

    @TableField(value = "exclude_field")
    private String excludeField;

    @TableField(value = "sum_field")
    private String sumField;

    @TableField(value = "trim_field")
    private String trimField;

    @TableField(value = "empty_field")
    private String emptyField;

    @TableField(value = "custom_sql")
    private String customSql;

    @TableField(value = "contrast_scene")
    private String contrastScene;

    @TableField(value = "table_structure_mapping_pk_id")
    private String tableStructureMappingPkId;

    @TableField(value = "server_pk_id")
    private String serverPkId;

    @TableField(value = "contrast_server_pk_id")
    private String contrastServerPkId;

    @TableField(value = "status")
    private String status;

    @TableField(value = "table_transfer_pk_id")
    private String tableTransferPkId;

    @TableField(value = "where_condition")
    private String whereCondition;

    @TableField(value = "sort_field")
    private String sortField;
}
